package game;

import java.awt.Graphics;
import java.awt.geom.Point2D;

class GameOver extends Scene
{
	Background bg;
	float timer;

	public GameOver()
	{
		bg = new Background(13, new Point2D.Double(0, 0), new Point2D.Double(800, 600));
	}

	public void update()
	{
		timer += Game.loopTime;
		if (timer > 3)
		{
			SceneManager.changeScene(0);
		}
	}

	public void draw(Graphics g)
	{
		bg.draw(g);
	}
}